import { useState, useEffect } from 'react'
import Child from './components/Child'
import './App.css'


function App() {
  const [count, setCount] = useState(0)
  useEffect(()=> {
    setTimeout(()=> {
      console.log(111111)
      setCount(count+1)
    }, 1000)
  }, [count])
  

  return (
    <>
      <h1> 这是test-wwb分支 </h1>
      <div className="card">
        { count }
      </div>
      <Child count={'1'} name={'wwb'} arr={['1']} />
    </>
  )
}

export default App
